<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
	</head>

	<body>
		<div class="mui-content">
			<button id="share">分享</button>
		</div>
		<script src="js/mui.min.js"></script>
		<script type="text/javascript" src="js/share.js" ></script>
		<script type="text/javascript">
			mui.init()
			document.getElementById("share").addEventListener('tap', function(event) {
				alert("asdf");
				event.stopPropagation();
				share.open({
					title: '杨哥是好人！通通别谢哥，杨哥我免费给你打广告！（http://www.gztpay.com/gztUpgrade/download/index.action?plat=9013）',
					content: '杨哥是好人！通通别谢哥，杨哥我免费给你打广告！（http://www.gztpay.com/gztUpgrade/download/index.action?plat=9013）',
					href: 'http://www.gztpay.com/gztUpgrade/download/index.action?plat=9013'
				});
				//					var intent = new Intent(Intent.ACTION_SEND);
				//					intent.setType("text/plain");
				//					intent.putExtra(Intent.EXTRA_TEXT, '致力成为创业者可以依赖的创业服务平台，36氪让创业更简单！（http://m3w.cn/s/H5EC86117?scene=share&__streamapp）');
				//					intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
				//					main.startActivity(Intent.createChooser(intent, "系统分享"));
			});
		</script>
	</body>

</html>